package cn.fan;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
@EnableCaching
public class UserPowerApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserPowerApplication.class, args);

//        ConfigurableApplicationContext run = SpringApplication.run(UserPowerApplication.class, args);
//
//        System.out.println("--------------------------------------");
//        String[] beans = run.getBeanDefinitionNames();
//        for(String bean:beans){
//            System.out.println(bean);
//        }
//        System.out.println("--------------------------------------");
    }

}